﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac.Extras.DynamicProxy;
using Simple.Common;
using Simple.Entity.Dto;
using Simple.Entity.Entity;
using Simple.Entity.Params;
using Simple.Entity.View;

namespace Simple.IService
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	[Intercept(typeof(CustomAutofacAop))]
	public interface IMenuService
	{
		public void TestTra();


		public  Task<BaseMessage> AddAsync(MenuDto menuDto);


		/// <summary>
		/// 更新菜单
		/// </summary>
		/// <param name="Id"></param>
		/// <param name="menuDto"></param>
		/// <returns></returns>
		public  Task<BaseMessage> UpdateAsync(long Id, MenuDto menuDto);


		/// <summary>
		/// 删除菜单
		/// </summary>
		/// <param name="Id"></param>
		/// <param name="menuDto"></param>
		/// <returns></returns>
		public  Task<BaseMessage> SoftDeleteAsync(long Id);


		/// <summary>
		/// 
		/// </summary>
		/// <returns></returns>
		public  Task<BaseMessage> GetPageAsync(MenuParameter Params);

		}
}
